package com.itheima.service;

import com.itheima.entity.Result;
import com.itheima.pojo.FormDataAdvice;

import java.util.List;
import java.util.Map;

public interface InterventionService {

    Result add(FormDataAdvice formDataAdvice, String[] exerciseIds, String[] foodIds);

    FormDataAdvice findById(Integer interventionId);

    List<Integer> findexerciseIdsByinterventionId(Integer interventionId);

    List<Integer> findfoodIdsByinterventionId(Integer interventionId);

    Result edit(FormDataAdvice formDataAdvice, String[] exerciseIds, String[] foodIds);

    Map<String,Object> findHealthInterventionByOrderId(Integer orderId);
}
